<%@ page language="java"  pageEncoding="UTF-8"%>
<%
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragrma","no-cache");
response.setDateHeader("Expires",0);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>资源新增向导</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>  
	<%@ include file="../include/common.jsp"%>
	<%@ include file="../include/tab.jsp"%>
	   <link href="${pageContext.request.contextPath}/style/default/form/ui.tabs.css" type="text/css" rel="stylesheet" media="print, projection, screen"/>
  
	<style type="text/css"> 
		.basicMonitor,.applyMonitor,.otherMonitor{padding:5px;}
		.content{border:1px solid #dfe9f2;border-bottom:0px;width:24%;margin-right:5px;float:left;}
		.content h2{padding-left:5px;font-family:"microsoft yahei";font-size:12px; background:#eef2ff; border-bottom:1px solid #dfe9f2;text-align: center;height:25px;line-height:25px;vertical-align:middle;}
		.content  ul{width:100%;}
		.content  ul li{border-bottom:1px solid #dedede;padding-left:5px;height:25px;line-height:25px;vertical-align:middle;font-size:12px;}
		.content  ul li img{ border:0px;font-size:12px;}
		.content  ul li label{padding-left:10px;}
		.clear{clear:both;font:0px/0px Arial;height:0px;}
		a:link{color:#555;text-decoration:underline;}
	</style>
	<script type="text/javascript">
		$(document).ready(function(){
			$('.content label a').live('click',function(){
				var agreement = $(this).attr('type');
				if(agreement==null||agreement==''){
					var parent = $(this).parents('ul');
					agreement = parent.attr('type');
				}
				//sql记录查询
				if($(this).attr('idValue') == '1205040500000' || $(this).attr('idValue') == '1205040600000'){
					location.assign("res!propertyEventtypeInput.action?id=${id}&viewId=${viewId}&resTypeId="+$(this).attr('idValue')+'&agreement='+(agreement==null?"":agreement));
				}else{
					location.assign("res!input.action?id=${id}&viewId=${viewId}&ntype=${ntype}&resTypeId="+$(this).attr('idValue')+'&agreement='+(agreement==null?"":agreement));
				}
			});
		});
		 function addGroup() {
			var url ="iframe:resource/res-group!input.action?ntype=${ntype}&viewId=${viewId}&pId=${id}";
			var opt = { title: "新增资源组",width:530,height:230,buttons: {}};
			getTopWin(window).openjBox(url,opt,'res-group-input',window);
		}
	</script>
  </head>
  
  <body>
  		<ul class="ui-tabs-nav">
			<li class="ui-tabs-selected"><a href="res!guide.action?id=${id}&viewId=${viewId}&ntype=${ntype}" target="_self" style="text-decoration:none;"><span>新增单个资源</span></a></li> 
			<li><a href="../integration/tivoli!guide.action?id=${id}&viewId=${viewId}&ntype=${ntype}" target="_self" style="text-decoration:none;"><span>集成TIVOLI资源</span></a></li>
			<li><a href="../integration/inmp!guide.action?id=${id}&viewId=${viewId}&ntype=${ntype}" style="text-decoration:none;"><span>集成朗易资源</span></a></li>
			<li><a href="../integration/inmpop!guide.action?id=${id}&viewId=${viewId}&ntype=${ntype}" style="text-decoration:none;"><span>集成ZOHO资源</span></a></li>
			<li><a href="res-type!resImport.action?resId=${id}&viewId=${viewId}&ntype=${ntype}" style="text-decoration:none;"><span>导入资源</span></a></li> 
		</ul> 
		<div class="ui-tabs-panel"/>
  	<div style="clear: both;margin-top:10px;">
    	 <input type="button" value="选择其它类别" onclick="location.assign('res!input.action?viewId=${viewId}&id=${id}&ntype=${ntype}')" class="btn-4" />
    	 <input type="button" value="新增资源组" onclick="addGroup();" class="btn-4" />
    </div>
    <div  id="basicMonitor" class="basicMonitor" >
  		<div  class="content"  >
   			<h2 >主机</h2>
    		<ul type="1" >
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/Windows.gif" /><label><a href="#" idValue="1101020000000" type="2" >Windows</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_linux.gif" /><label><a href="#" idValue="1101010001000">Linux</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/aix.gif"  /><label><a href="#" idValue="1101010002000">Aix</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_hpunix.gif"  /><label><a href="#" idValue="1101010003000">HP-UX</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_solaris.gif"  /><label><a href="#" idValue="1101010004000" >Solaris</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/sco unix.gif"  /><label><a href="#" idValue="1101010005000">Sco Unix</a></label></li>
    		</ul>
  		</div>
	   	
	   	<div  class="content"  >
   			<h2 >数据库</h2>
    		<ul type="3">
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_oracle.gif"  /><label><a href="#" idValue="1102010000000">Oracle</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/queryMonitoring.gif"  /><label><a href="#" idValue="1102020000000">MySql</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_db2.gif"  /><label><a href="#" idValue="1102030000000" >Db2</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_sybase.gif"  /><label><a href="#" idValue="1102050000000">Sybase</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/informix.gif"  /><label><a href="#" idValue="1102080000000" >Informix</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/queryMonitoring.gif"  /><label><a href="#" idValue="1102040000000">Sqlserver</a></label></li>
    		</ul>
  		</div>	
  		
  		<div  class="content"  >
   			<h2 >应用中间件</h2>
    		<ul type="4">
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_websphere.gif"  /><label><a href="#" idValue="1103020000000">Websphpere</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_weblogic.gif"  /><label><a href="#" idValue="1103040000000">Weblogic</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_tomcat.gif"  /><label><a href="#" idValue="1103010000000">Tomcat</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_jboss.gif"  /><label><a href="#" idValue="1103050000000">Jboss</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_apache.gif"  /><label><a href="#" idValue="1103060000000" type="-1">Apache</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_iis.gif"  /><label><a href="#" idValue="1103070000000" type="1">IIS</a></label></li>
    		</ul>
  		</div>	
    	 
    	<div  class="content"  >
   			<h2 >消息中间件</h2>
    		<ul type="4">
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/mq.gif"  /><label><a href="#" idValue="1104010000000" type="1" >MQ</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/tuxedo.gif"  /><label><a href="#" idValue="1104020000000" type="1" >TUXEDO</a></label></li>
    			<li style="display:none;"><img src="${pageContext.request.contextPath}/style/default/bsm/guide/cics.gif"  /><label>CICS</label></li>
    		    <li style="display:none;"><img src="${pageContext.request.contextPath}/style/default/bsm/guide/tonglin.gif"  /><label>Tonglink/Q</label></li>  
    		</ul>
  		</div>	 
  		<div  class="content"  >
   			<h2 >通用网络设备</h2>
    		<ul>
    		   <li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"   /><label><a href="#"  idValue="1106000000000" >通用网络设备</a></label></li>
    		</ul>
  		</div>
  		
  		<div class="clear"></div>
    </div>
   
    <div id="applyMonitor" class="applyMonitor">
    	<div  class="content"  >
   			<h2 >连通类监控</h2>
    		<ul>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205030200000">TELNET</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205030300000">HTTP</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205030400000">FTP</a></label></li>
    		<!-- <li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205030500000">URL</a></label></li> -->	
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205030600000">IMAP</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205030700000">DNS</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205030800000">LDAP</a></label></li>
    		<!-- 	<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205030900000">SOCKET端口</a></label></li> -->
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205031100000">SMTP/POP3</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205030100000">远程PING</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_memcached.gif"  /><label><a href="#" idValue="1205031200000">远程TELNET</a></label></li>
    		</ul>
  		</div>	
   		<div  class="content"  >
   			<h2 >文件类监控</h2>
    		<ul type="1">
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_filesystem.gif"  /><label><a href="#" idValue="1205010100000">文件进度监控</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_filesystem.gif"  /><label><a href="#" idValue="1205010500000">文件连续</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_filesystem.gif"  /><label><a href="#" idValue="1205010600000">文件目录监控</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_filesystem.gif"  /><label><a href="#" idValue="1205040400000">文件数量监控</a></label></li>
    			<li>&nbsp;</li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
    		</ul>
  		</div>
  		<div class="content">
  			<h2 >日志类监控</h2>
  			<ul type="1"> 
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_filesystem.gif"  /><label><a href="#" idValue="1205010300000">日志文件内容监控</a></label></li>
  				<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_filesystem.gif"  /><label><a href="#" idValue="1205013100000">黄河银行交易日志监控</a></label></li>
  				<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_filesystem.gif"  /><label><a href="#" idValue="6205010100000">农信银网银日志监控</a></label></li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
  			</ul>
  		</div>
  		
  		<div class="content">
  			<h2>进程和端口监控</h2>
  			<ul>
  				<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"   /><label><a href="javascript:;" type="2" idValue="1205020100000">Window进程</a></label></li>
    		   <li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"  /><label><a href="javascript:;"  type="1" idValue="1205020200000">Unix进程</a></label></li>
  				<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"  /><label><a href="javascript:;" idValue="1201080100000" >Linux端口</a></label></li>
  				<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"  /><label><a href="javascript:;" idValue="1201080200000">Aix网络端口</a></label></li>
  				<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"  /><label><a href="javascript:;" idValue="1201080300000">Hp-Ux网络端口</a></label></li>
  				<li style="display:none;"><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"  /><label>Solaris端口</label></li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
  				<li>&nbsp;</li>
  			</ul>
  		</div>
  		
  		<div class="clear"></div>
    </div>
    
    <div id="applyMonitor" class="applyMonitor">
    	
  		
    	<div class="content" >
  			<h2>数据查询监控</h2>
  			<ul>
  				<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"   /><label><a href="#" idValue="1205040200000" type="5">SQL记录查询</a></label></li>
  				<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"   /><label><a href="#" idValue="1205040500000" type="5">自定义SQL记录查询</a></label></li>
  			</ul>
  		</div>
  		
  		<div class="content" >
  			<h2>脚本类监控</h2>
  			<ul>
  				<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"  /><label><a href="#" idValue="1205040100000"  type="1">数量统计</a></label></li>
  				<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"   /><label><a href="#" idValue="1205040600000" type="1">自定义脚本监控</a></label></li>
  			</ul>
  		</div>
  		
    	<div  class="content"  >
   			<h2 >其它类监控</h2>
    		<ul>
    			<li style="display:none;"><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"  /><label>业务资源</label></li>
    			<li style="display:none;"><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_webapp.png"  /><label>资源目录</label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_filesystem.gif"  /><label><a href="#" idValue="1107000000000">存储监控</a></label></li>
    			<li><img src="${pageContext.request.contextPath}/style/default/bsm/guide/icon_monitors_filesystem.gif"  /><label><a href="#" idValue="1108010000000">Esx/Esxi</a></label></li>
    		</ul>
  		</div>	
    </div>
    
  </body>
</html>
